package com.wuseguang.springcloud.service;


import com.wuseguang.springcloud.util.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 课表 服务类
 * </p>
 *
 * @author zmc
 * @since 2019-12-07
 */
public interface TimetableService {
    /**
     * 导入全校课表
     * @param type 1班级课表,2全校课表
     * @param teacherId 教师id
     * @param schoolId 学校id
     * @return
     */
    int exportLessonTemplate(HttpServletRequest httpRequest,HttpServletResponse response, Integer type, String teacherId, String schoolId);


    Result addClassDay(String schoolId, Integer day, Integer second, String[] classTime);

    Result searchTimetable(String schoolId, String timetable);

    Result addTimetable(String schoolId, String timetable);

    Result findClassTimetable(String teacherId,String schoolId);

    Result findTecherTimetable(String teacherId);

    Result findClassSchedule(String teacherId);

    Result findClassDay(String schoolId);

    Result findDateTimetable(String teacherId,String time,String schoolId);
}
